<template>
    <ContentBase>
        <StudentSearch v-if="$store.state.user.identity == 'student'" />
        <TeacherSearch v-else-if="$store.state.user.identity == 'teacher'" />
    </ContentBase>
</template>

<script setup>
import ContentBase from '../components/ContentBase';
import StudentSearch from '@/components/StudentSearch.vue';
import TeacherSearch from '@/components/TeacherSearch.vue';

</script>

<style scoped>

</style>